<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Collision Checker: cpp/collision/src/serialize/serialize_rectangle_obb.cc Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Collision Checker
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_df511e5bd85cec96854b39d5e1c27aa8.html">cpp</a></li><li class="navelem"><a class="el" href="dir_bf0f0c8865c1942e08ab5157e2c596db.html">collision</a></li><li class="navelem"><a class="el" href="dir_0bc2acc18702bc40f3a0aa3bc19285f7.html">src</a></li><li class="navelem"><a class="el" href="dir_ff67b0b1975c78e2aeeef391b01d4332.html">serialize</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">serialize_rectangle_obb.cc</div>  </div>
</div><!--header-->
<div class="contents">
<a href="serialize__rectangle__obb_8cc.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">//*  Author: Vitaliy Rusinov</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;</div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="serialize_8h.html">collision/serialize/serialize.h</a>&quot;</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;</div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#if ENABLE_SERIALIZER</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="rectangle__obb_8h.html">collision/narrowphase/rectangle_obb.h</a>&quot;</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacecollision.html">collision</a> {</div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacecollision_1_1serialize.html#aea63e6d672588912102de4dbfc13ba19">serialize</a> {</div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;ICollisionObjectExport *exportObject(<span class="keyword">const</span> <a class="code" href="classcollision_1_1_rectangle_o_b_b.html">collision::RectangleOBB</a> &amp;obb) {</div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;  <span class="keywordflow">return</span> <span class="keyword">new</span> RectangleOBBExport(obb);</div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;}</div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;</div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<a class="code" href="classcollision_1_1serialize_1_1_rectangle_o_b_b_export.html#a0eda65d131953716cd1bfa792030fd80">RectangleOBBExport::RectangleOBBExport</a>(<span class="keyword">const</span> RectangleOBB &amp;rect) {</div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;  <a class="code" href="classcollision_1_1serialize_1_1_rectangle_o_b_b_export.html#a8a0c64a9280d66740a14c6759879c133">m_fields</a>.<a class="code" href="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct.html#a755c1444510152061e6168ed7b14071f">local_axis_x_1</a> = rect.local_x_axis()[0];</div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;  <a class="code" href="classcollision_1_1serialize_1_1_rectangle_o_b_b_export.html#a8a0c64a9280d66740a14c6759879c133">m_fields</a>.<a class="code" href="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct.html#a902a3d6c4a3f0a1ed8c72450038d3bc4">local_axis_x_2</a> = rect.local_x_axis()[1];</div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;  <a class="code" href="classcollision_1_1serialize_1_1_rectangle_o_b_b_export.html#a8a0c64a9280d66740a14c6759879c133">m_fields</a>.<a class="code" href="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct.html#ab9c1fb999fb9a288a3ce33486eaa302a">local_axis_y_1</a> = rect.local_y_axis()[0];</div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;  <a class="code" href="classcollision_1_1serialize_1_1_rectangle_o_b_b_export.html#a8a0c64a9280d66740a14c6759879c133">m_fields</a>.<a class="code" href="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct.html#a89ca663adc745d5adc982077f1a409b7">local_axis_y_2</a> = rect.local_y_axis()[1];</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;  <a class="code" href="classcollision_1_1serialize_1_1_rectangle_o_b_b_export.html#a8a0c64a9280d66740a14c6759879c133">m_fields</a>.<a class="code" href="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct.html#ad21aee0ce30f9ae70003e5d0989b8557">rx</a> = rect.r_x();</div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;  <a class="code" href="classcollision_1_1serialize_1_1_rectangle_o_b_b_export.html#a8a0c64a9280d66740a14c6759879c133">m_fields</a>.<a class="code" href="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct.html#a733b36fd4074406237b4e3b831801113">ry</a> = rect.r_y();</div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;  <a class="code" href="classcollision_1_1serialize_1_1_rectangle_o_b_b_export.html#a8a0c64a9280d66740a14c6759879c133">m_fields</a>.<a class="code" href="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct.html#a77468cc2162545a17adcadb0d5df3f2b">center_x</a> = rect.center()[0];</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;  <a class="code" href="classcollision_1_1serialize_1_1_rectangle_o_b_b_export.html#a8a0c64a9280d66740a14c6759879c133">m_fields</a>.<a class="code" href="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct.html#ad2768354e3eabd57b02e8d648bc7d2c4">center_y</a> = rect.center()[1];</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;}</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;CollisionObject *<a class="code" href="classcollision_1_1serialize_1_1_rectangle_o_b_b_export.html#a9cb89a22b1718f5bfdc191ed123cb5bb">RectangleOBBExport::loadObject</a>(<span class="keywordtype">void</span>) {</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;  Eigen::Matrix2d local_axes;</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;  local_axes.col(0)[0] = <a class="code" href="classcollision_1_1serialize_1_1_rectangle_o_b_b_export.html#a8a0c64a9280d66740a14c6759879c133">m_fields</a>.<a class="code" href="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct.html#a755c1444510152061e6168ed7b14071f">local_axis_x_1</a>;</div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;  local_axes.col(0)[1] = <a class="code" href="classcollision_1_1serialize_1_1_rectangle_o_b_b_export.html#a8a0c64a9280d66740a14c6759879c133">m_fields</a>.<a class="code" href="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct.html#a902a3d6c4a3f0a1ed8c72450038d3bc4">local_axis_x_2</a>;</div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;  local_axes.col(1)[0] = <a class="code" href="classcollision_1_1serialize_1_1_rectangle_o_b_b_export.html#a8a0c64a9280d66740a14c6759879c133">m_fields</a>.<a class="code" href="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct.html#ab9c1fb999fb9a288a3ce33486eaa302a">local_axis_y_1</a>;</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;  local_axes.col(1)[1] = <a class="code" href="classcollision_1_1serialize_1_1_rectangle_o_b_b_export.html#a8a0c64a9280d66740a14c6759879c133">m_fields</a>.<a class="code" href="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct.html#a89ca663adc745d5adc982077f1a409b7">local_axis_y_2</a>;</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;  <span class="keywordflow">return</span> <span class="keyword">new</span> RectangleOBB(</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;      <a class="code" href="classcollision_1_1serialize_1_1_rectangle_o_b_b_export.html#a8a0c64a9280d66740a14c6759879c133">m_fields</a>.<a class="code" href="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct.html#ad21aee0ce30f9ae70003e5d0989b8557">rx</a>, <a class="code" href="classcollision_1_1serialize_1_1_rectangle_o_b_b_export.html#a8a0c64a9280d66740a14c6759879c133">m_fields</a>.<a class="code" href="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct.html#a733b36fd4074406237b4e3b831801113">ry</a>, local_axes,</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;      Eigen::Vector2d(<a class="code" href="classcollision_1_1serialize_1_1_rectangle_o_b_b_export.html#a8a0c64a9280d66740a14c6759879c133">m_fields</a>.<a class="code" href="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct.html#a77468cc2162545a17adcadb0d5df3f2b">center_x</a>, <a class="code" href="classcollision_1_1serialize_1_1_rectangle_o_b_b_export.html#a8a0c64a9280d66740a14c6759879c133">m_fields</a>.<a class="code" href="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct.html#ad2768354e3eabd57b02e8d648bc7d2c4">center_y</a>));</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;}</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="classcollision_1_1serialize_1_1_rectangle_o_b_b_export.html#ab9e8f42c9f1e7a0f518235920668769b">RectangleOBBExport::operator()</a>(s11nlite::node_type &amp;dest)<span class="keyword"> const </span>{</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;  <span class="keyword">typedef</span> s11nlite::node_traits TR;</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;  TR::class_name(dest, <span class="stringliteral">&quot;RectangleOBBExport&quot;</span>);</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;  TR::set(dest, <span class="stringliteral">&quot;rx&quot;</span>, <a class="code" href="classcollision_1_1serialize_1_1_rectangle_o_b_b_export.html#a8a0c64a9280d66740a14c6759879c133">m_fields</a>.<a class="code" href="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct.html#ad21aee0ce30f9ae70003e5d0989b8557">rx</a>);</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;  TR::set(dest, <span class="stringliteral">&quot;ry&quot;</span>, <a class="code" href="classcollision_1_1serialize_1_1_rectangle_o_b_b_export.html#a8a0c64a9280d66740a14c6759879c133">m_fields</a>.<a class="code" href="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct.html#a733b36fd4074406237b4e3b831801113">ry</a>);</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;  TR::set(dest, <span class="stringliteral">&quot;local_axis_x_1&quot;</span>, <a class="code" href="classcollision_1_1serialize_1_1_rectangle_o_b_b_export.html#a8a0c64a9280d66740a14c6759879c133">m_fields</a>.<a class="code" href="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct.html#a755c1444510152061e6168ed7b14071f">local_axis_x_1</a>);</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;  TR::set(dest, <span class="stringliteral">&quot;local_axis_x_2&quot;</span>, <a class="code" href="classcollision_1_1serialize_1_1_rectangle_o_b_b_export.html#a8a0c64a9280d66740a14c6759879c133">m_fields</a>.<a class="code" href="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct.html#a902a3d6c4a3f0a1ed8c72450038d3bc4">local_axis_x_2</a>);</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;  TR::set(dest, <span class="stringliteral">&quot;local_axis_y_1&quot;</span>, <a class="code" href="classcollision_1_1serialize_1_1_rectangle_o_b_b_export.html#a8a0c64a9280d66740a14c6759879c133">m_fields</a>.<a class="code" href="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct.html#ab9c1fb999fb9a288a3ce33486eaa302a">local_axis_y_1</a>);</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;  TR::set(dest, <span class="stringliteral">&quot;local_axis_y_2&quot;</span>, <a class="code" href="classcollision_1_1serialize_1_1_rectangle_o_b_b_export.html#a8a0c64a9280d66740a14c6759879c133">m_fields</a>.<a class="code" href="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct.html#a89ca663adc745d5adc982077f1a409b7">local_axis_y_2</a>);</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;  TR::set(dest, <span class="stringliteral">&quot;cx&quot;</span>, <a class="code" href="classcollision_1_1serialize_1_1_rectangle_o_b_b_export.html#a8a0c64a9280d66740a14c6759879c133">m_fields</a>.<a class="code" href="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct.html#a77468cc2162545a17adcadb0d5df3f2b">center_x</a>);</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;  TR::set(dest, <span class="stringliteral">&quot;cy&quot;</span>, <a class="code" href="classcollision_1_1serialize_1_1_rectangle_o_b_b_export.html#a8a0c64a9280d66740a14c6759879c133">m_fields</a>.<a class="code" href="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct.html#ad2768354e3eabd57b02e8d648bc7d2c4">center_y</a>);</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;}</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="classcollision_1_1serialize_1_1_rectangle_o_b_b_export.html#ab9e8f42c9f1e7a0f518235920668769b">RectangleOBBExport::operator()</a>(<span class="keyword">const</span> s11nlite::node_type &amp;src) {</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;  <span class="keyword">typedef</span> s11nlite::node_traits TR;</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;  <a class="code" href="classcollision_1_1serialize_1_1_rectangle_o_b_b_export.html#a8a0c64a9280d66740a14c6759879c133">m_fields</a>.<a class="code" href="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct.html#ad21aee0ce30f9ae70003e5d0989b8557">rx</a> = TR::get(src, <span class="stringliteral">&quot;rx&quot;</span>, <span class="keywordtype">double</span>(0));</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;  <a class="code" href="classcollision_1_1serialize_1_1_rectangle_o_b_b_export.html#a8a0c64a9280d66740a14c6759879c133">m_fields</a>.<a class="code" href="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct.html#a733b36fd4074406237b4e3b831801113">ry</a> = TR::get(src, <span class="stringliteral">&quot;ry&quot;</span>, <span class="keywordtype">double</span>(0));</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;  <a class="code" href="classcollision_1_1serialize_1_1_rectangle_o_b_b_export.html#a8a0c64a9280d66740a14c6759879c133">m_fields</a>.<a class="code" href="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct.html#a755c1444510152061e6168ed7b14071f">local_axis_x_1</a> = TR::get(src, <span class="stringliteral">&quot;local_axis_x_1&quot;</span>, <span class="keywordtype">double</span>(0));</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;  <a class="code" href="classcollision_1_1serialize_1_1_rectangle_o_b_b_export.html#a8a0c64a9280d66740a14c6759879c133">m_fields</a>.<a class="code" href="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct.html#a902a3d6c4a3f0a1ed8c72450038d3bc4">local_axis_x_2</a> = TR::get(src, <span class="stringliteral">&quot;local_axis_x_2&quot;</span>, <span class="keywordtype">double</span>(0));</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;  <a class="code" href="classcollision_1_1serialize_1_1_rectangle_o_b_b_export.html#a8a0c64a9280d66740a14c6759879c133">m_fields</a>.<a class="code" href="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct.html#ab9c1fb999fb9a288a3ce33486eaa302a">local_axis_y_1</a> = TR::get(src, <span class="stringliteral">&quot;local_axis_y_1&quot;</span>, <span class="keywordtype">double</span>(0));</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;  <a class="code" href="classcollision_1_1serialize_1_1_rectangle_o_b_b_export.html#a8a0c64a9280d66740a14c6759879c133">m_fields</a>.<a class="code" href="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct.html#a89ca663adc745d5adc982077f1a409b7">local_axis_y_2</a> = TR::get(src, <span class="stringliteral">&quot;local_axis_y_2&quot;</span>, <span class="keywordtype">double</span>(0));</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;  <a class="code" href="classcollision_1_1serialize_1_1_rectangle_o_b_b_export.html#a8a0c64a9280d66740a14c6759879c133">m_fields</a>.<a class="code" href="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct.html#a77468cc2162545a17adcadb0d5df3f2b">center_x</a> = TR::get(src, <span class="stringliteral">&quot;cx&quot;</span>, <span class="keywordtype">double</span>(0));</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;  <a class="code" href="classcollision_1_1serialize_1_1_rectangle_o_b_b_export.html#a8a0c64a9280d66740a14c6759879c133">m_fields</a>.<a class="code" href="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct.html#ad2768354e3eabd57b02e8d648bc7d2c4">center_y</a> = TR::get(src, <span class="stringliteral">&quot;cy&quot;</span>, <span class="keywordtype">double</span>(0));</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;}</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;} <span class="comment">// namespace serialize</span></div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;} <span class="comment">// namespace collision</span></div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="classcollision_1_1_rectangle_o_b_b_html"><div class="ttname"><a href="classcollision_1_1_rectangle_o_b_b.html">collision::RectangleOBB</a></div><div class="ttdoc">Oriented rectangle.</div><div class="ttdef"><b>Definition:</b> <a href="rectangle__obb_8h_source.html#l00016">rectangle_obb.h:16</a></div></div>
<div class="ttc" id="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct_html_a733b36fd4074406237b4e3b831801113"><div class="ttname"><a href="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct.html#a733b36fd4074406237b4e3b831801113">collision::serialize::RectangleOBBExportStruct::ry</a></div><div class="ttdeci">double ry</div><div class="ttdef"><b>Definition:</b> <a href="rectangle__obb__export__struct_8h_source.html#l00007">rectangle_obb_export_struct.h:7</a></div></div>
<div class="ttc" id="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct_html_a755c1444510152061e6168ed7b14071f"><div class="ttname"><a href="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct.html#a755c1444510152061e6168ed7b14071f">collision::serialize::RectangleOBBExportStruct::local_axis_x_1</a></div><div class="ttdeci">double local_axis_x_1</div><div class="ttdef"><b>Definition:</b> <a href="rectangle__obb__export__struct_8h_source.html#l00010">rectangle_obb_export_struct.h:10</a></div></div>
<div class="ttc" id="classcollision_1_1serialize_1_1_rectangle_o_b_b_export_html_ab9e8f42c9f1e7a0f518235920668769b"><div class="ttname"><a href="classcollision_1_1serialize_1_1_rectangle_o_b_b_export.html#ab9e8f42c9f1e7a0f518235920668769b">collision::serialize::RectangleOBBExport::operator()</a></div><div class="ttdeci">virtual bool operator()(s11nlite::node_type &amp;dest) const</div></div>
<div class="ttc" id="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct_html_a77468cc2162545a17adcadb0d5df3f2b"><div class="ttname"><a href="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct.html#a77468cc2162545a17adcadb0d5df3f2b">collision::serialize::RectangleOBBExportStruct::center_x</a></div><div class="ttdeci">double center_x</div><div class="ttdef"><b>Definition:</b> <a href="rectangle__obb__export__struct_8h_source.html#l00008">rectangle_obb_export_struct.h:8</a></div></div>
<div class="ttc" id="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct_html_a89ca663adc745d5adc982077f1a409b7"><div class="ttname"><a href="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct.html#a89ca663adc745d5adc982077f1a409b7">collision::serialize::RectangleOBBExportStruct::local_axis_y_2</a></div><div class="ttdeci">double local_axis_y_2</div><div class="ttdef"><b>Definition:</b> <a href="rectangle__obb__export__struct_8h_source.html#l00013">rectangle_obb_export_struct.h:13</a></div></div>
<div class="ttc" id="serialize_8h_html"><div class="ttname"><a href="serialize_8h.html">serialize.h</a></div></div>
<div class="ttc" id="namespacecollision_html"><div class="ttname"><a href="namespacecollision.html">collision</a></div><div class="ttdef"><b>Definition:</b> <a href="collision__checker_8h_source.html#l00020">collision_checker.h:20</a></div></div>
<div class="ttc" id="classcollision_1_1serialize_1_1_rectangle_o_b_b_export_html_a9cb89a22b1718f5bfdc191ed123cb5bb"><div class="ttname"><a href="classcollision_1_1serialize_1_1_rectangle_o_b_b_export.html#a9cb89a22b1718f5bfdc191ed123cb5bb">collision::serialize::RectangleOBBExport::loadObject</a></div><div class="ttdeci">CollisionObject * loadObject(void)</div></div>
<div class="ttc" id="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct_html_a902a3d6c4a3f0a1ed8c72450038d3bc4"><div class="ttname"><a href="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct.html#a902a3d6c4a3f0a1ed8c72450038d3bc4">collision::serialize::RectangleOBBExportStruct::local_axis_x_2</a></div><div class="ttdeci">double local_axis_x_2</div><div class="ttdef"><b>Definition:</b> <a href="rectangle__obb__export__struct_8h_source.html#l00012">rectangle_obb_export_struct.h:12</a></div></div>
<div class="ttc" id="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct_html_ad21aee0ce30f9ae70003e5d0989b8557"><div class="ttname"><a href="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct.html#ad21aee0ce30f9ae70003e5d0989b8557">collision::serialize::RectangleOBBExportStruct::rx</a></div><div class="ttdeci">double rx</div><div class="ttdef"><b>Definition:</b> <a href="rectangle__obb__export__struct_8h_source.html#l00006">rectangle_obb_export_struct.h:6</a></div></div>
<div class="ttc" id="classcollision_1_1serialize_1_1_rectangle_o_b_b_export_html_a8a0c64a9280d66740a14c6759879c133"><div class="ttname"><a href="classcollision_1_1serialize_1_1_rectangle_o_b_b_export.html#a8a0c64a9280d66740a14c6759879c133">collision::serialize::RectangleOBBExport::m_fields</a></div><div class="ttdeci">RectangleOBBExportStruct m_fields</div><div class="ttdef"><b>Definition:</b> <a href="rectangle__obb__export_8h_source.html#l00018">rectangle_obb_export.h:18</a></div></div>
<div class="ttc" id="classcollision_1_1serialize_1_1_rectangle_o_b_b_export_html_a0eda65d131953716cd1bfa792030fd80"><div class="ttname"><a href="classcollision_1_1serialize_1_1_rectangle_o_b_b_export.html#a0eda65d131953716cd1bfa792030fd80">collision::serialize::RectangleOBBExport::RectangleOBBExport</a></div><div class="ttdeci">RectangleOBBExport()</div><div class="ttdef"><b>Definition:</b> <a href="rectangle__obb__export_8h_source.html#l00011">rectangle_obb_export.h:11</a></div></div>
<div class="ttc" id="namespacecollision_1_1serialize_html_aea63e6d672588912102de4dbfc13ba19"><div class="ttname"><a href="namespacecollision_1_1serialize.html#aea63e6d672588912102de4dbfc13ba19">collision::serialize::serialize</a></div><div class="ttdeci">int serialize(const test::BroadphaseFailureCCObj &amp;bf_object, std::ostream &amp;output_stream, const char *format=SERIALIZER_DEFAULT_FORMAT)</div></div>
<div class="ttc" id="rectangle__obb_8h_html"><div class="ttname"><a href="rectangle__obb_8h.html">rectangle_obb.h</a></div></div>
<div class="ttc" id="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct_html_ad2768354e3eabd57b02e8d648bc7d2c4"><div class="ttname"><a href="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct.html#ad2768354e3eabd57b02e8d648bc7d2c4">collision::serialize::RectangleOBBExportStruct::center_y</a></div><div class="ttdeci">double center_y</div><div class="ttdef"><b>Definition:</b> <a href="rectangle__obb__export__struct_8h_source.html#l00009">rectangle_obb_export_struct.h:9</a></div></div>
<div class="ttc" id="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct_html_ab9c1fb999fb9a288a3ce33486eaa302a"><div class="ttname"><a href="structcollision_1_1serialize_1_1_rectangle_o_b_b_export_struct.html#ab9c1fb999fb9a288a3ce33486eaa302a">collision::serialize::RectangleOBBExportStruct::local_axis_y_1</a></div><div class="ttdeci">double local_axis_y_1</div><div class="ttdef"><b>Definition:</b> <a href="rectangle__obb__export__struct_8h_source.html#l00011">rectangle_obb_export_struct.h:11</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
